package com.sftz.assets.entities.teachactivity;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Data
@Table("teach_activity")
public class TeachActivityEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("层级Id")
	private Integer courseStruId;

	/**结构code*/
	private String structCode;

	@Column
	@Comment("活动标题")
	private String title;

	@Column
	@Comment("活动内容")
	private String content;

	@Column
	@Comment("开始时间")
	private Date startDate;

	@Column
	@Comment("截止时间")
	private Date endDate;

	@Column
	@Comment("允许上传文件个数")
	private Integer fileNum;

	@Column
	@Comment("上传文件大小设置")
	private String fileSize;

	@Column
	@Comment("分值")
	private Double score;

	@Column
	@Comment("课程Id")
	private Integer courseId;

	@Column
	@Comment("讨论占比")
	private Double rate;

}